<?php

namespace App\Http\Controllers\DesignPattern\Creational\AbstractFactory;

use App\Model\DesignPattern\Creational\AbstractFactory\IronDoorFactory;
use App\Http\Controllers\Controller;

class DoorController extends Controller
{
    public function index()
    {
        $door = new IronDoorFactory();
        return $door->makeFittingExpert()->getDescription();
    }
}
